namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("PUB_MATERIEL_TYPE")]
    public partial class PUB_MATERIEL_TYPE
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public PUB_MATERIEL_TYPE()
        {
            PUB_MATERIEL = new HashSet<PUB_MATERIEL>();
        }

        [Key]
        [StringLength(40)]
        public string MATERIEL_TYPE_ID { get; set; }

        [Required]
        [StringLength(50)]
        public string MATERIEL_TYPE_NAME { get; set; }

        public bool? IS_COAL { get; set; }

        [StringLength(200)]
        public string REMARKS { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<PUB_MATERIEL> PUB_MATERIEL { get; set; }
    }
}
